package com.stone;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;

public class ArrDemo {

    public static void main(String[] args) {

        // int a=1;
        // int b=4;
        //
        // a=a^b;
        // b=a^b;
        // a=a^b;
        // System.out.println(1^1);
        // System.out.println(1^5);
        // System.out.println((1^5)^4);
        //
        // System.out.println(a);
        // System.out.println(b);
        Double mid=0.0;
        Double sum=0.0;
        Double mean=0.0;
        List<Double> list=new ArrayList<>();
        list.add(3.0);

        new Thread(){
            @Override
            public void run() {

                for (Double d : list) {
                    // midLoacl.set(sum+d);
                }
                // midLoacl.set(sum/list.size());
                System.out.println("启动....");
            }
        }.start();

        new Thread(){
            @Override
            public void run() {

                for (Double d : list) {

                }
                System.out.println("启动....");
            }
        }.start();
    }
}
